package com.czd.support.model;

import java.util.Date;

import org.apache.ibatis.type.Alias;

import com.czd.base.model.Page;

/**
 * Created with IntelliJ IDEA.
 * Author: zhangrui
 * Create: zhangrui (14-11-25 13:40)
 * Description:
 * To change this template use File | Settings | File Templates.
 */
@Alias("advertisement")
public class Advertisement extends Page {
	/**
	 * 
	 */
	private static final long serialVersionUID = 4318129943911483915L;
	
	private int id;
	
	/**
	 * 广告标题
	 */
	private String title;
	
	/**
	 * 广告主要图片
	 */
	private String attachUrl;
	/**
	 * 广告分类 ID
	 */
	private int categoryId;
	/**
	 * 创建人
	 */
	private int createUser;
	
	/**
	 * 创建时间
	 */
	private Date createTime;
	
	/**
	 * 更新人
	 */
	private int updateUser;
	
	/**
	 * 更新时间
	 */
	private Date updateTime;
	
	/**
	 * 总点击量
	 */
	private int hit;
	
	/**
	 * 链接地址
	 */
	private String linkUrl;
	
	/**
	 * 广告类别实体名称
	 */
	private String text;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getAttachUrl() {
		return attachUrl;
	}

	public void setAttachUrl(String attachUrl) {
		this.attachUrl = attachUrl;
	}

	public int getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(int categoryId) {
		this.categoryId = categoryId;
	}

	public int getCreateUser() {
		return createUser;
	}

	public void setCreateUser(int createUser) {
		this.createUser = createUser;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public int getUpdateUser() {
		return updateUser;
	}

	public void setUpdateUser(int updateUser) {
		this.updateUser = updateUser;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public int getHit() {
		return hit;
	}

	public void setHit(int hit) {
		this.hit = hit;
	}

	public String getLinkUrl() {
		return linkUrl;
	}

	public void setLinkUrl(String linkUrl) {
		this.linkUrl = linkUrl;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}
}
